#ifndef COFFPARSER_H
#define COFFPARSER_H

#include <windows.h>


class CoffParser
{
    public:
        CoffParser(LPCSTR);
        virtual ~CoffParser();

        const IMAGE_ROM_HEADERS& getHeader()const;

    protected:
    private:
        char* szBuffer;
        IMAGE_ROM_HEADERS header;
        UINT uiFileSize;

        void init();

};

#endif // COFFPARSER_H
